import request from '@/config/axios'

//应急服务
export const getEmergencyServeInfos= (params) => {
  return request.get( {url:'/emergencyServeInfo/info',params})
}

//大屏全国
export const getIndex = (data)=>{
    return request.post({url: '/largeScreen/index',data});
}
//大屏全国
export const getDisasterSituation = (data)=>{
    return request.post({url:'/largeScreen/disasterSituation',data});
}

//拿到历史地震ID 弃用
export const getlistHistoryQuakeFromId2Uid= (params) => {
  return request.get( {url:'/gis/earthquake/listHistoryQuakeFromId2Uid',params})
}

//大屏全国 单个地震地震事件数据可视化
export const getListHistoryQuakeForBigScreenChart = (data)=>{
  return request.post({url:'/gis/bigscreennew/listHistoryQuakeForBigScreenChart',data});
}

//大屏全国 单个地震首页进去
export const getOldListHistoryQuakeForBigScreenChart = (data)=>{
  return request.post({url:'/gis/bigscreenold/listHistoryQuakeForBigScreenChart',data});
}


//大屏全国 单个地震烈度图说明
export const getListDataHistoricalIntensityByThreeData = (params)=>{
  return request.get({url:'/gis/bigscreennew/listDataHistoricalIntensityByThreeData',params});
}


//大屏全国 单个地震首页烈度图
export const getListHistoryQuakeForBigScreenImgFile = (params)=>{
  return request.get({url:'/gis/bigscreenold/listHistoryQuakeForBigScreenImgFile',params,responseType: 'blob' },{ responseType: 'blob' });
}


